package com.ruoyi.client.mapper;

import com.ruoyi.client.pojo.form.GoodsQueryPageForm;
import com.ruoyi.client.pojo.vo.GoodsDetailVo;
import com.ruoyi.client.pojo.vo.GoodsVo;
import com.ruoyi.myshop.domain.Goods;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author：HuaQP
 * @Date：2024/9/19
 */
@Repository("ClientGoodsMapper")
public interface GoodsMapper {
    List<GoodsVo> selectGoodsVoList(GoodsQueryPageForm form);

    GoodsDetailVo selectVoById(Integer id);

    // 查询商品对象 ById
    Goods selectByPrimaryKey(Long id);
}
